using System;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Dao
{
    public class TableUnionFightRankSpecialRewardDao:DaoBase<TableUnionFightRankSpecialReward>
    {
        public override void AddPrimaryIndex(TableUnionFightRankSpecialReward model)
        {
            cachePrimary[model.id.ToString()] = model;
        }

        public override string GetFileName()
        {
            return "TableUnionFightRankSpecialReward.txt";
        }

        protected override TableUnionFightRankSpecialReward ParseRowData(string[] rowData)
        {
            TableUnionFightRankSpecialReward data = new TableUnionFightRankSpecialReward();
			data.id = rowData [0];
			data.rank = rowData [1];
			data.reward = rowData [2];
			data.title = rowData [3];

            return data;
        }



    }

}
